//
//  LBSubTrackHelper.m
//  LBTrackManager_Example
//
//  Created by Apple on 2021/9/18.
//  Copyright © 2021 liuboliu. All rights reserved.
//

#import "LBSubTrackHelper.h"

@implementation LBSubTrackHelper

- (void)unEffectiveImpressionWithTableView:(UITableView *)tableView
                       cellIndexPathsArray:(NSArray<NSIndexPath *> *)array
{
    [array enumerateObjectsUsingBlock:^(NSIndexPath * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
        NSLog(@"展示的内容内容%ld",obj.row);
    }];
}

- (void)effectiveImpressionWithTableView:(UITableView *)tableView
                     cellIndexPathsArray:(NSArray<NSIndexPath *> *)array
{
    [array enumerateObjectsUsingBlock:^(NSIndexPath * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
        NSLog(@"有效曝光有效曝光展示的内容内容%ld",obj.row);
    }];
}

- (void)unEffectiveImpressionWithCollectionView:(UICollectionView *)collectionView
                            cellIndexPathsArray:(NSArray<NSIndexPath *> *)array
{
    [array enumerateObjectsUsingBlock:^(NSIndexPath * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
           NSLog(@"collectionview展示的内容内容%ld",obj.item);
       }];
}

- (void)effectiveImpressionWithCollectionView:(UICollectionView *)collectionView
                          cellIndexPathsArray:(NSArray<NSIndexPath *> *)array
{
    [array enumerateObjectsUsingBlock:^(NSIndexPath * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
           NSLog(@"collectionview有效曝光有效曝光展示的内容内容%ld",obj.item);
    }];
}

@end
